package elasticsearch

type IndexMapping struct {
	Settings struct {
		NumberOfShards int `json:"number_of_shards"`
	} `json:"settings"`
	Mappings struct {
		Properties map[string]any `json:"properties"`
	} `json:"mappings"`
}

// IndexMapping for example
var ESIndexMapping = IndexMapping{
	Settings: struct {
		NumberOfShards int `json:"number_of_shards"`
	}{
		NumberOfShards: 1,
	},
	Mappings: struct {
		Properties map[string]any `json:"properties"`
	}{
		Properties: map[string]any{},
	},
}
